package com.ruoyi.system.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.common.enums.DataSourceType;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 用户表 数据层
 *
 * @author ruoyi
 */
@Repository
public interface MyOracleMapper
{


    @DataSource(value = DataSourceType.ORACLE1)
    public List<Map<String,Object>> f1(@Param("str") String str);

    @DataSource(value = DataSourceType.ORACLE1)
    public int f2(@Param("str") String str);
}
